﻿using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using 基于WPF的电缆采样数据分析系统.Models.Enums;

namespace 基于WPF的电缆采样数据分析系统.Models
{
    /// <summary>
    /// 波形文件信息配置
    /// </summary>
    public class PassageDataInfo : BindableBase
    {
        /// <summary>
        /// 通道Id
        /// </summary>
        public int Pid { get; set; }

        /// <summary>
        /// 通道类型
        /// </summary>
        public PassageType PassageType { get; set; }

        /// <summary>
        /// 数据类型
        /// </summary>
        public WavDataType WavDataType { get; set; }

        /// <summary>
        /// 存储的数据
        /// </summary>
        private List<float> _PData;

        /// <summary>
        /// 存储的数据
        /// </summary>
        public List<float> PData
        {
            get { return _PData; }
            set { 
                _PData = value;
                RaisePropertyChanged();
            }
        }

    }
}
